from selenium import webdriver


class basePage:
    def __init__(self, driver):
        driver = webdriver.Chrome()
        self.driver = driver

    def find_Element(self, locator):
        return self.driver.find_element(*locator)

    def open(self, url):
        self.driver.get(url)


    def clear_text(self, locator):
        self.driver.find_element(*locator).clear()




